<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>修改属性</title>
    <style type="text/css">
        .checkbox{
             margin-left:5px;
             width:90px;
             margin-top: 10px;
        }
        textarea{
            width: 300px;
            height: 100px;
        }
    </style>
    <link rel="stylesheet" type="text/css" href="http://localhost/yhd/Static/hdjs/hdjs.css"/>
   
    <script src="http://localhost/yhd/Static/Js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
   
    

</head>
<body>
<div class="wrap">
    <div class="hd-title-header">修改属性</div>
    <form action="" method="post" class="form-inline hd-form" >
        <table class="hd-table hd-table-list">
            <tr>
                <th class="w100">属性名称</th>
                <td class="w100">
                    <input type="text" name="attr_name" class="w200" value="<?php echo $olddata['attr_name'];?>" /> 
                </td>

                <td></td>
            </tr>
           
             <!--   <td width="50">属性类别</td> -->
           <tr>
                <th class="w100">类别</th>
                <td>
          规格<input type="radio" name="class" id="" value="1" checked="checked" />
                    &nbsp;
                    属性 <input type="radio" name="class" id="" value="0"  />
                </td>
                <td></td>
            </tr>
          
             <tr>
                <th class="w100">属性值</th>
                <td>
                    <textarea name="attr_value" class="form-control" rows="5"><?php echo $olddata['attr_value'];?></textarea>
                </td>
              
            </tr>
          
        
        </table>
        <div class="position-bottom">
        <!--  <input type="text" name="type_id" value="<?php echo $hd['get']['type_id'];?>" /> -->
        <input type="hidden" name="attr_id"  value="<?php echo $hd['get']['attr_id'];?>" />   
            <input type="submit" class="hd-btn hd-btn-success" value="修改"/>
        </div>
    </form>
</div>
</body>
</html>